function lines = plotSignal(time, signal, lineStyle, titleText, xlabelText, ylabelText)
% 时域波形画图 
% Arguments:
%   time: 时间
%   signal: 信号
%   titleText: 标题栏文字
% Return: 
%   lines: 曲线的handle
%
% Code:
    if nargin < 3
        lineStyle = '-';
    end % if
    if nargin < 4
        titleText = 'Time Domain';
    end % if
    if nargin < 5
        xlabelText = 'Time[s]';
    end % if
    if nargin < 6
        ylabelText = 'Signal[Voltage]';
    end % if
    lines = plot(time, signal, lineStyle);
    xlabel(xlabelText);
    ylabel(ylabelText);
    title(titleText);
    grid on;
end % function
